package com.seari.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.seari.bean.PostInfoBean;
import com.seari.mapper.PostInfoMapper;

@Service
public class PostInfoServiceImpl implements PostInfoService
{
	@Autowired
	PostInfoMapper postInfoMapper;

	@Override
	public PostInfoBean getPostInfo(String pname)
	{
		return postInfoMapper.getPostInfo(pname);
	}

	@Override
	public void updatePostInfoBean(PostInfoBean bean)
	{
		postInfoMapper.updatePostInfo(bean);
	}

}
